2008-06-03 Tor Lillqvist <tml@novell.com>
* gtk/updateiconcache.c (build_cache): Use g_open().
svn path=/trunk/; revision=20303
+2008-06-03 Tor Lillqvist <tml@novell.com>
+
+ * gtk/updateiconcache.c (build_cache): Use g_open().
+
2008-06-03 Michael Natterer <mitch@imendio.com>
* gtk/gtkclist.h
tmp_cache_path = g_build_filename (path, "."CACHE_NAME, NULL);
- if ((fd = open (tmp_cache_path, O_WRONLY | O_CREAT | O_EXCL | O_TRUNC | _O_BINARY, mode)) == -1)
+ if ((fd = g_open (tmp_cache_path, O_WRONLY | O_CREAT | O_EXCL | O_TRUNC | _O_BINARY, mode)) == -1)
{
g_printerr (_("Failed to open file %s : %s\n"), tmp_cache_path, g_strerror (errno));
exit (1);